package com.acme.domain.account;

import com.acme.exceptions.NotEnoughFundsException;
import com.acme.exceptions.OverDraftLimitExceededException;

public interface Account {
	void deposit(double amount) throws IllegalArgumentException;
	void withdraw(double amount) throws NotEnoughFundsException, OverDraftLimitExceededException;
	int getAccountNumber();
	AccountType getAccountType();
	boolean isOpened();
	double getBalance();
}
